package entity

import "shqsoft.cn/pas3ui/base"

//ShAsseParam
type ShAsseParam struct {
	ID   int    `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	NAME string `gorm:"column:NAME"`
	JXID int    `gorm:"column:JXID"`
	FYID int    `gorm:"column:FYID"`
	STNO int    `gorm:"column:STNO"`
}

//TableName  绩费增减考核参数表
func (ShAsseParam) TableName() string {
	return "SH_ASSE_PARAM"
}

//ShAsseParamEF 返回结构体
func ShAsseParamEF() base.EntityFunc {
	return func() interface{} {
		entity := ShAsseParam{}
		return &entity
	}
}

//ShAsseParamESF 返回结构体数组
func ShAsseParamESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []ShAsseParam
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("ShAsseParam", base.NewDefaultDao(ShAsseParamEF(), ShAsseParamESF(), nil, "my"))
}
